package com.reborn.mall.api.model.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;

/**
 * 用户收货地址表-实体类
 *
 * @author Reborn
 * @since 2020/3/20
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "ums_user_receive_address")
public class UserReceiveAddress extends BaseEntity {
//    private Long memberId;
    private Long appUserId;

    @ApiModelProperty(value = "收货人名称")
    private String name;

    private String tel;

    @ApiModelProperty(value = "是否为默认")
    private Integer defaultStatus;

    @ApiModelProperty(value = "邮政编码")
    private String postCode;

    @ApiModelProperty(value = "省份/直辖市")
    private String province;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "区")
    private String region;

    @ApiModelProperty(value = "详细地址(街道)")
    private String detailAddress;
}
